<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : page header

    // target      : Windows, php, ODBC
    // page_type   : list grid
    // arg         : startrow, int, get, page
    // arg         : maxrows, int, get, page

    $a_startrow = $startrow;
    $a_maxrows = $maxrows;
    
    
    
    require('wed_php_odbc.inc');

    // checksum    : 57849
?><html>

<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>emplacements.emplacement</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<?  
    $w_disprows = 300;
    
    $w_sqlstr = "SELECT emplacements.num, emplacements.identifiant FROM emplacements WHERE (emplacements.identifiant = '0')";
    wed_read_list_process ("Vgreniers", "", "", $w_sqlstr, $w_record, $w_disprows, $a_startrow, $a_maxrows, $w_rows);
  ?>
  <?  
    $w_disprows = 300;
    
    $w_sqlstr = "SELECT emplacements.num, emplacements.identifiant FROM emplacements WHERE (emplacements.identifiant <> '0')";
    wed_read_list_process ("Vgreniers", "", "", $w_sqlstr, $w_record, $w_disprows, $a_startrow, $a_maxrows, $w_rows1);
    $pourcent = ($w_rows1/252)*100;
	$pourcent = (int) $pourcent;
  ?>
<table cellpadding="0" cellspacing="0" width="1205" align="center">
    <tr>
        <td width="175" height="32">            
            <form name="formA" target="_BLANK" action="http://78.224.63.232/primaire/videgreniermai2013/consultation.php">
                <p align="center"><input type="submit" name="Accueil" value="Accueil Vide Greniers"></p>
            </form>
        </td>
        <td width="230" height="32">            
            <form name="formB" target="_self" action="http://78.224.63.232/primaire/videgreniermai2013/emplacementsnomdate.php">
                <p align="center"><input type="submit" name="EmplRecents" value="Emplacements les plus recents"></p>
            </form>
        </td>
        <td width="183" height="32">

            <form name="formC" target="_self" action="http://78.224.63.232/primaire/videgreniermai2013/emplacementsnom.php">
                <p align="center"><input type="submit" name="EmplNum" value="Emplacements par N°"></p>
            </form>
        </td>
        <td width="204" height="32">

            <p align="center">
            <form name="formD" target="_self" action="http://78.224.63.232/primaire/videgreniermai2013/listeordrearrivee.php">
                <p align="center"><input type="submit" name="ExpRecents" value="Exposants les plus recents"></p>
            </form>
        </td>
        <td width="235" height="32">

            <p align="center">
            <p align="center">
            <form name="formE" target="_self" action="http://78.224.63.232/primaire/videgreniermai2013/listealphabetique.php">
                <p align="center"><input type="submit" name="ExpAlpha" value="Exposants ordre Alphabétique"></p>
            </form>
        </td>
       <td width="83" height="32">
		 <p align="center">
            <form name="formF" target="_self" action="http://78.224.63.232/primaire/videgreniermai2013/financier.php">
                <p align="center"><input type="submit" name="Finances" value="Finances"></p>
            </form>
      </td>
      </tr>
</table>
<p align="center"><b><font size="5" face="Arial">Liste des <? echo $w_rows1 ?> emplacements pris sur 252 soit <? echo $pourcent ?>%</font></b></p>


<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : Bloc de table
    // block_type  : list grid

    // server      : Vgreniers
    // userid      : 
    // passwd      : 
    // table       : emplacements
    // table       : inscriptions
    // table       : paiment_recu
    // table       : non_oui2
    // table       : non_oui
    // table       : reglement
    // join_cond   : emplacements.identifiant = inscriptions.identifiant AND paiment_recu.Num  = inscriptions.PaiementRecuN AND non_oui.num = inscriptions.mailconfirm AND non_oui2.num = inscriptions.mailpaiement AND reglement.Num = inscriptions.ReglementN
    // order_cond  : emplacements.num ASC
    // field       : emplacements.num, int, not null, 0
    // field       : emplacements.identifiant, string, null, 15
    // field       : inscriptions.identifiant, string, null, 15
    // field       : inscriptions.NomFamille, string, null, 50
    // field       : inscriptions.Prenom, string, null, 50
    // field       : inscriptions.TelPersonnel, string, null, 30
    // field       : inscriptions.TelephoneMobile, string, null, 30
    // field       : inscriptions.AdresseCourrierElec, string, null, 50
    // field       : inscriptions.PaiementRecu, string, null, 50
    // field       : inscriptions.date, date, null, 0
    // field       : inscriptions.Commentaires, text, null, 0
    // field       : paiment_recu.Num, int, not null, 0
    // field       : paiment_recu.paiementrecu, string, null, 50
    // field       : inscriptions.PaiementRecuN, int, null, 0
    // field       : emplacements.date_modif, string, null, 50
    // field       : non_oui2.num, int, not null, 0
    // field       : non_oui2.libelle, string, null, 50
    // field       : inscriptions.mailconfirm, int, null, 0
    // field       : inscriptions.mailpaiement, int, null, 0
    // field       : non_oui.num, int, not null, 0
    // field       : non_oui.libelle, string, null, 50
    // field       : inscriptions.somme, string, null, 50
    // field       : reglement.Num, int, not null, 0
    // field       : reglement.reglement, string, null, 50
    // disp_rows   : 300

    $w_disprows = 300;
    
    $w_sqlstr = "SELECT emplacements.num, emplacements.identifiant, inscriptions.identifiant, inscriptions.NomFamille, inscriptions.Prenom, inscriptions.TelPersonnel, inscriptions.TelephoneMobile, inscriptions.AdresseCourrierElec, inscriptions.PaiementRecu, inscriptions.date, inscriptions.Commentaires, paiment_recu.Num, paiment_recu.paiementrecu, inscriptions.PaiementRecuN, emplacements.date_modif, non_oui2.num, non_oui2.libelle, inscriptions.mailconfirm, inscriptions.mailpaiement, non_oui.num, non_oui.libelle, inscriptions.somme, reglement.Num, reglement.reglement FROM emplacements, inscriptions, paiment_recu, non_oui2, non_oui, reglement WHERE (emplacements.identifiant = inscriptions.identifiant AND paiment_recu.Num  = inscriptions.PaiementRecuN AND non_oui.num = inscriptions.mailconfirm AND non_oui2.num = inscriptions.mailpaiement AND reglement.Num = inscriptions.ReglementN) ORDER BY emplacements.num ASC";
    wed_read_list_process ("Vgreniers", "", "", $w_sqlstr, $w_record, $w_disprows, $a_startrow, $a_maxrows, $w_rows);

    // checksum    : 25329
?><table border="1" width="1516" align="center">
    <tr>
        <td width="40">

            <p align="center"><b>N°</b></p>
        </td>
        <td width="112">
            <p align="center">&nbsp;</p>
        </td>
        <td width="112">
            <p align="center">&nbsp;</p>
        </td>
        <td width="230" colspan="2">

            <p align="center"><span style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: -webkit-center; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">confirmation envoyée&nbsp;: Inscrit/paiement</span></p>
        </td>
        <td width="112">

            <p align="center"><b>Nom</b></p>
        </td>
        <td width="112">

            <p align="center"><b>Prenom</b></p>
        </td>
        <td width="111">

            <p align="center"><b>Tel fixe</b></p>
        </td>
        <td width="112">

            <p align="center"><b>Mobile</b></p>
        </td>
        <td width="112">

            <p align="center"><b>Mèl</b></p>
        </td>
        <td width="97">

            <p align="center"><b>Paiement Recu</b></p>
        </td>
        <td width="385">

            <p align="center"><b>date modif / d'inscription</b></p>
        </td>
        <td width="280">
            <p align="center"><b>Commentaires</b></p>
        </td>
    </tr>

<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : list loop begin


    for ($w_i = 0; $w_i < $w_rows; $w_i++) {
    	$f_emplacements_num = $w_record[$w_i][0];
    	$f_emplacements_identifiant = $w_record[$w_i][1];
    	$f_inscriptions_identifiant = $w_record[$w_i][2];
    	$f_inscriptions_NomFamille = $w_record[$w_i][3];
    	$f_inscriptions_Prenom = $w_record[$w_i][4];
    	$f_inscriptions_TelPersonnel = $w_record[$w_i][5];
    	$f_inscriptions_TelephoneMobile = $w_record[$w_i][6];
    	$f_inscriptions_AdresseCourrierElec = $w_record[$w_i][7];
    	$f_inscriptions_PaiementRecu = $w_record[$w_i][8];
    	$f_inscriptions_date = $w_record[$w_i][9];
    	$f_inscriptions_Commentaires = $w_record[$w_i][10];
    	$f_paiment_recu_Num = $w_record[$w_i][11];
    	$f_paiment_recu_paiementrecu = $w_record[$w_i][12];
    	$f_inscriptions_PaiementRecuN = $w_record[$w_i][13];
    	$f_emplacements_date_modif = $w_record[$w_i][14];
    	$f_non_oui2_num = $w_record[$w_i][15];
    	$f_non_oui2_libelle = $w_record[$w_i][16];
    	$f_inscriptions_mailconfirm = $w_record[$w_i][17];
    	$f_inscriptions_mailpaiement = $w_record[$w_i][18];
    	$f_non_oui_num = $w_record[$w_i][19];
    	$f_non_oui_libelle = $w_record[$w_i][20];
    	$f_inscriptions_somme = $w_record[$w_i][21];
    	$f_reglement_Num = $w_record[$w_i][22];
    	$f_reglement_reglement = $w_record[$w_i][23];

    // checksum    : 55170
?>    <tr>
        <td width="40" height="16">

            <p align="center"><b><?  // Namo WebEditor dbWizard Script.
                                     // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                     // Do not modify this block.

                                     // block_name  : Champ de sortie
                                     // block_type  : write

                                     // value       : <f,emplacements.num>
                                     // cache       : "write value"

                                     wed_write($f_emplacements_num);

                                     // checksum    : 32540
                                 ?></b></p>
        </td>
        <td width="112" height="16">
            <form name="form1" action="inscriptionvg.php" method="get" TARGET=_BLANK>
		    		    
		    		    
                <p align="center"><input type="submit" name="Consultation" value="Consultation"><INPUT type=hidden name=chaine value=<?echo $f_inscriptions_identifiant ?>>
</p>
            </form>

		</td>
        <td width="112" height="16">
            <form name="form2" action="saisiereglements.php" method="get" TARGET=_BLANK>
				<p align="center"><input type="submit" name="Paiement" value="Paiement"><INPUT type=hidden name=chaine value=<?echo $f_inscriptions_identifiant ?>>
</p>
            </form>
        </td>
        <td width="112" height="16">
            <form name="form2" action="mailconfirminscription.php" method="get" target="_blank">
                <p align="center"><input type="submit" name="mailinscription" value="mail confirmation">
		<INPUT type=hidden name=chaine value=<?echo $f_inscriptions_identifiant ?>>
		<INPUT type=hidden name=destinataire value=<?echo $f_inscriptions_AdresseCourrierElec ?>>
		<INPUT type=hidden name=NomFamille value=<?echo $f_inscriptions_NomFamille ?>>
		<INPUT type=hidden name=Prenom value=<?echo $f_inscriptions_Prenom ?>>
		<INPUT type=hidden name=Paiement value=<?echo $f_paiment_recu_paiementrecu ?>>
		<INPUT type=hidden name=somme value= <?echo $f_inscriptions_somme ?>>
		<INPUT type=hidden name=reglement value= <?echo $f_reglement_reglement ?>>
</p>
            </form>
		</td>
        <td width="112" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,non_oui.libelle>
                                  // cache       : "write value"

                                  wed_write($f_non_oui_libelle);

                                  // checksum    : 32975
                              ?>/ <?  // Namo WebEditor dbWizard Script.
                                      // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                      // Do not modify this block.

                                      // block_name  : Champ de sortie
                                      // block_type  : write

                                      // value       : <f,non_oui2.libelle>
                                      // cache       : "write value"

                                      wed_write($f_non_oui2_libelle);

                                      // checksum    : 49847
                                  ?></p>
        </td>
        <td width="112" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,inscriptions.NomFamille>
                                  // cache       : "write value"

                                  wed_write($f_inscriptions_NomFamille);

                                  // checksum    : 50917
                              ?></p>
        </td>
        <td width="112" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,inscriptions.Prenom>
                                  // cache       : "write value"

                                  wed_write($f_inscriptions_Prenom);

                                  // checksum    : 4552
                              ?></p>
        </td>
        <td width="111" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,inscriptions.TelPersonnel>
                                  // cache       : "write value"

                                  wed_write($f_inscriptions_TelPersonnel);

                                  // checksum    : 59631
                              ?></p>
        </td>
        <td width="112" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,inscriptions.TelephoneMobile>
                                  // cache       : "write value"

                                  wed_write($f_inscriptions_TelephoneMobile);

                                  // checksum    : 6622
                              ?></p>
        </td>
        <td width="112" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,inscriptions.AdresseCourrierElec>
                                  // cache       : "write value"

                                  wed_write($f_inscriptions_AdresseCourrierElec);

                                  // checksum    : 17029
                              ?></p>
        </td>
        <td width="97" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,paiment_recu.paiementrecu>
                                  // cache       : "write value"

                                  wed_write($f_paiment_recu_paiementrecu);

                                  // checksum    : 7851
                              ?></p>
        </td>
        <td width="385" height="16">

            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,emplacements.date_modif>
                                  // cache       : "write value"

                                  wed_write($f_emplacements_date_modif);

                                  // checksum    : 59987
                              ?>/ &nbsp;<?  // Namo WebEditor dbWizard Script.
                                            // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                            // Do not modify this block.

                                            // block_name  : Champ de sortie
                                            // block_type  : write

                                            // value       : <f,inscriptions.date>
                                            // cache       : "write value"

                                            wed_write($f_inscriptions_date);

                                            // checksum    : 40819
                                        ?></p>
        </td>
<td width="280" height="16"><?  // Namo WebEditor dbWizard Script.
                                // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                // Do not modify this block.

                                // block_name  : Champ de sortie
                                // block_type  : write

                                // value       : <f,inscriptions.Commentaires>
                                // cache       : "write value"

                                wed_write($f_inscriptions_Commentaires);

                                // checksum    : 522
                            ?></td>
    </tr>
<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : list loop end


    }

    // checksum    : 42643
?>
</table>

<p>&nbsp;</p>
</body>

</html>
